import "dart:ffi";

import "package:flutter/material.dart";

abstract final class ThemeVars {
  // static const Color colorPrimary = Color(0xff4169e1);
  // static const Color colorPrimaryDark = Color(0xff2d4bba);
  // static const Color colorPrimaryLight = Color(0xffc3d5ff);
  // static const Color colorSuccess = Color(0xff52c41a);
  // static const Color colorSuccessLight = Color(0xfff6ffed);
  // static const Color colorWarning = Color(0xfffaad14);
  // static const Color colorWarningLight = Color(0xfffffbe6);
  // static const Color colorError = Color(0xffff4d4f);
  // static const Color colorErrorLight = Color(0xfffff1f0);

  static const Color colorPrimary = Color.fromRGBO(85, 139, 47, 1);
  static const Color colorPrimaryDark = Color.fromRGBO(51, 105, 30, 1);
  static const Color colorPrimaryLight = Color.fromRGBO(232, 245, 233, 1);
  static const Color colorSuccess = Color(0xff52c41a);
  static const Color colorSuccessLight = Color(0xfff6ffed);
  static const Color colorWarning = Color(0xfffaad14);
  static const Color colorWarningLight = Color(0xfffffbe6);
  static const Color colorError = Color(0xffff4d4f);
  static const Color colorErrorLight = Color(0xfffff1f0);

  static const Color colorText = Color(0xff141414);
  static const Color colorTextSec = Color(0xff595959);
  static const Color colorTextTer = Color(0xff8c8c8c);

  static const Color colorBorder = Color(0xffd9d9d9);
  static const Color colorDivider = Color(0xfff0f0f0);
  static const Color colorDisabled = Color(0xffb8b8b8);
  static const Color colorBackground = Color(0xfff5f5f5);
  static const Color colorMask = Color.fromRGBO(0, 0, 0, 0.45);
  static const Color colorShadow = Color.fromRGBO(0, 0, 0, 0.075);

  static const double paddingPage = 12;

  static const BoxShadow boxShadow =
      BoxShadow(blurRadius: 2, color: colorShadow, offset: Offset(0, 1));

  static const double toolbarHeight = 56.0;
}
